chore: add npm package release workflow using changesets - #2
Merged
Conversation
Agent-Logs-Url: https://github.com/farm-fe/harfai/sessions/bdd1ab30-9e4b-457d-a27a-ff9b597fa1c4 Co-authored-by: wre232114 <8372439+wre232114@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add npm package release workflow using changesets
chore: add npm package release workflow using changesets
Mar 30, 2026
wre232114
marked this pull request as ready for review
March 30, 2026 08:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up
@changesets/clifor versioning and publishing, and wires a GitHub Actions release workflow that opens version bump PRs and publishes to npm on merge.Changesets config (
.changeset/config.json)access: "public"— required for scoped@harfai/*packagesignore: ["@harfai/frontend", "@harfai/backend", "@harfai/e2e"]— excludes app/test packages from publishRelease workflow (
.github/workflows/release.yml)mainchangesets/action@v1: creates/updates a "Version Packages" PR when changesets are pending; publishes to npm when that PR is mergedNPM_TOKENrepository secret (automation token from npmjs.com)Package hygiene
@harfai/frontend,@harfai/backend,@harfai/e2e— marked"private": true@harfai/shared,@harfai/openapi,@harfai/cli) — no change neededRoot
package.json@changesets/cli@2.30.0todevDependenciesreleasescript:pnpm build && changeset publish⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.